package top.codecrab.cloudalibaba.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import top.codecrab.springcloud.entity.response.Result;

/**
 * @author codecrab
 * @since 2021年05月21日 9:59
 */
@FeignClient(value = "nacos-payment-provider", fallback = PaymentFallbackClient.class)
public interface PaymentClient {

    @GetMapping(value = "/paymentSQL/{id}")
    Result paymentSQL(@PathVariable("id") Long id);

}
